from dateutil.parser import parse
import datetime

date1 = '2019-Mar-01 13:58:34 +0800'
date2 = '2019-Mar-01 13:58:35 +0800'
delta = datetime.timedelta(seconds=1)

dict1 = {
    'qps': 0,
    'key2': '时间value',
    '时间key': '计数',
}

# if date1 not in dict1:
#     dict1[date1] = 1
#
# print(dict1)
print(dict1)
